package com.wzcl.app.model.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class UserGroupDto extends BaseDto{

    @NotNull(message = "用户组名称不能为空")
    @ApiModelProperty(value = "名称")
    private String name;

    @NotEmpty(message = "标签不能为空")
    @ApiModelProperty(value = "标签")
    private List<String> tag;

    @NotNull(message = "自定义标识不能为空")
    @ApiModelProperty(value = "是否根据条件生成")
    private Boolean isGenerate;

    //----------查询条件------------
    @ApiModelProperty(value = "用户真实姓名")
    private String realName;

    @ApiModelProperty("手机")
    private String phone;

    @ApiModelProperty(value = "用户状态")
    private Integer userState;

    @ApiModelProperty(value = "角色类型")
    private Integer type;
    //---------条件结束-------------

    @ApiModelProperty(value = "用户Id")
    private List<Integer> userIds;
}
